{% extends '::base.html.twig' %}

{% block contenido %}


<style>
    label {
        width: 130px;
    }
    li, th, td, select, #zenva_workoutbundle_cuposanualestype_Descripcion,#zenva_workoutbundle_cuposanualestype_Monto,#zenva_workoutbundle_cuposanualestype_Activo {
        padding: 6px;
    }
    
    
</style>

<div class="panel panel-default" style="width:90%;" align="c">
		<div class="panel-heading">
			<h3 class="panel-title">Cupo Anual: {{ entity.Descripcion }}</h3>
		</div>
			<div class="panel-body">

            <table class="record_properties table-striped">
                <tbody>
                    <tr>
                        <th>Id</th>
                        <td>{{ entity.id }}</td>
                    </tr>
                    <tr>
                        <th>Año</th>
                        <td>{{ entity.Anio }}</td>
                    </tr>
                    <tr>
                        <th>Monto</th>
                        <td>{{ entity.Monto }}</td>
                    </tr>
                    <tr>
                        <th>Activo</th>
                        <td>{{ entity.Activo }}</td>
                    </tr>
                    <tr>
                        <th>Usuacrea</th>
                        <td>{{ entity.UsuaCrea }}</td>
                    </tr>
                    <tr>
                        <th>Fechacrea</th>
                        <td>{{ entity.FechaCrea|date('Y-m-d H:i:s') }}</td>
                    </tr>
                    <tr>
                        <th>Usuamodi</th>
                        <td>{{ entity.UsuaModi }}</td>
                    </tr>
                    <tr>
                        <th>Fechamodi</th>
                        <td>{{ entity.FechaModi|date('Y-m-d H:i:s') }}</td>
                    </tr>
                </tbody>
            </table>

            <ul class="record_actions">
                <li>
                    <button type="button" class="btn btn-info" style="margin-left:0px;" onClick="location.href = '{{ path('cuposanualescrud') }}'">Volver</button>
                </li>
                <li>
                    <button type="button" class="btn btn-warning" style="margin-left:0px;" onClick="location.href = '{{ path('cuposanualescrud_edit', { 'id': entity.id }) }}'">Editar</button>
                </li>
                <li>
                    <form action="{{ path('cuposanualescrud_delete', { 'id': entity.id }) }}" method="post">
                        {{ form_widget(delete_form) }}
                        <button type="submit" class="btn btn-danger">Eliminar</button>
                    </form>
                </li>
            </ul>
</div>
</div>

{% endblock %}